package com.xhtt.modules.cfg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhtt.common.utils.PageUtils;
import com.xhtt.modules.cfg.entity.CfgBerthInfo;
import com.xhtt.modules.cfg.entity.CfgBerthRelate;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 泊位 服务类
 * </p>
 *
 * @author feipc
 * @since 2019-02-28
 */
public interface CfgBerthInfoService extends IService<CfgBerthInfo> {

    PageUtils queryPage(Map<String, Object> params);

    void addBerth(CfgBerthInfo cfgBerthInfo);

    void updateBerth(CfgBerthInfo cfgBerthInfo);

    List<CfgBerthRelate> getRelateObject(Integer berthId);

    void updateRelateObject(List<CfgBerthRelate> relates);

}
